package com.jinly.ryder.manage.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinly.ryder.common.dao.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 主机实例
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("host_instance")
public class HostInstanceDO extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 主机名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 主机地址
     */
    @TableField(value = "host")
    private String host;

    /**
     * 系统名称
     */
    @TableField(value = "os_name")
    private String osName;

    /**
     * 系统版本
     */
    @TableField(value = "os_version")
    private String osVersion;

    @TableField(value = "remark")
    private String remark;

}
